﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using System.Data;
using DTO;

namespace BUSSINESS
{
    public class BUS_QueQuan
    {
        private DAO_QueQuan dao = new DAO_QueQuan();

        public DataTable getAllQueQuan()
        {
            return dao.getAllQueQuan();
        }

        public bool insertQueQuan(DTO_QueQuan queQuan)
        {
            return dao.insertQueQuan(queQuan);
        }

        public bool updateQueQuan(DTO_QueQuan queQuan)
        {
            return dao.updateQueQuan(queQuan);
        }

        public bool deleteQueQuan(DTO_QueQuan queQuan)
        {
            return dao.deleteQueQuan(queQuan);
        }
        public DataTable getQueQuanByName(string name)
        {
            return dao.getQueQuanByName(name);
        }
    }
}
